*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    list-style: none;
    text-decoration: none;
    font-family: sans-serif;
    -webkit-font-smoothing: antialiased;
}

a:link, a:visited, a:hover a:active{color: #000;text-decoration: none;}

html, body{
    width: 100%;
    height: 100%;
}

/***头部***/
.main-header{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    box-sizing: content-box;
    width: 100%;
    padding-top: 10px;
    height: 48px;
    background-color: #fff;
}

.main-header .title h1{
    height: 48px;
    line-height: 40px;
    text-align: center;
    font-size: 20px;
    margin: 0;
    color: #b31f23;
    letter-spacing: 1px;
}

.main-header .backing{
    position: absolute;
    left: 0;
    top: 6px;
    height: 48px;
}

.main-header .backing a{
    display: block;
    width: 50px;
    height: 48px;
    line-height: 48px;
    text-indent: 10px;
}

.backing .bor,.backing .bor1{
    position: absolute;
    left: 0;
    top: 0;
    font-size: 22px;
    height: 48px;
}

.backing .bor{
    left: 0;
    z-index: 10;
    color: #97a1a4;
}

.backing .bor1{
    left: 4px;
    color: #fff;
    z-index: 100;
}

.device-id{
    position: absolute;
    top: 58px;
    right: 0;
    width: 44px;
    height: 44px;
}

.expiry-info{
	margin: 10px 51px;
	text-align: left;
	font-size: 15px;
	line-height: 1.4;
	letter-spacing: 2px;
	font-weight: bold;
    color: #ff6400;
}

/***转盘***/

/***媒体查询***/
@media(min-width: 320px) and (max-width: 360px){
    .wrapper{
        width: 100%;
        height: 735px;
        background-image: url(../images/ly-bg.png);
        background-repeat: no-repeat;
        background-size: cover;
    }

    .ly-wrapper{
        padding-top: 220px;
    }

    .ly-plate{
        position: relative;
        width: 275px;
        height: 275px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .rotate-bg{
        position: absolute;
        top: 0;
        left: 0;
        width: 275px;
        height: 275px;
        background-image: url(../images/ly-plate.png);
        background-repeat: no-repeat;
        background-size: contain;
    }

    .ly-plate .lottery-star{
        position: absolute;
        top: 48px;
        left: 51px;
        width: 173px;
        height: 173px;
    }

    .ly-plate .lottery-star .lotteryBtn{
        position: absolute;
        top: 0;
        left: 0;
        width: 173px;
        height: 173px;
        background-image: url(../images/rotate-static.png);
        background-repeat: no-repeat;
        background-size: contain;
        cursor: pointer;
    }

    .gift-wrapper{
        width: 100%;
        height: 568px;
        text-align: center;
        background-image: url(../images/win-bg.png);
        background-repeat: no-repeat;
        background-size: 100% 568px;
    }

    .win-wrapper{
        padding-top: 215px;
    }

    .win-wrapper .wining-gift{
        position: relative;
        width: 240px;
        height: 142px;
        margin-left: auto;
        margin-right: auto;
        background-image: url(../images/congratulation.png);
        background-repeat: no-repeat;
        background-size: contain;
    }
    
    .wining-gift .wining-gift_text{
        position: absolute;
        left: 0;
        right: 0;
        bottom: 38px;
        margin: auto;
        letter-spacing: 2px;
        font-size: 15px;
        color: #ff6400;
    }

    .win-wrapper .expiry-code{
        position: relative;
        width: 239px;
        height: 53px;
        margin-left: auto;
        margin-right: auto;
        background-image: url(../images/win-code.png);
        background-repeat: no-repeat;
        background-size: contain;
    }

    .expiry-code .expiry-code_text{
        position: absolute;
        left: 0;
        right: 0;
        bottom: 8px;
        letter-spacing: 2px;
        font-weight: bold;
        color: #b31f23;
    }
}

@media(min-width: 360px) and (max-width: 375px){
    .wrapper{
        width: 100%;
        height: 826px;
        background-image: url(../images/ly-bg.png);
        background-repeat: no-repeat;
        background-size: cover;
    }

    .ly-wrapper{
        padding-top: 250px;
    }

    .ly-plate{
        position: relative;
        width: 309px;
        height: 309px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .rotate-bg{
        position: absolute;
        top: 0;
        left: 0;
        width: 309px;
        height: 309px;
        background-image: url(../images/ly-plate.png);
        background-repeat: no-repeat;
        background-size: contain;
    }

    .ly-plate .lottery-star{
        position: absolute;
        top: 58px;
        left: 58px;
        width: 194px;
        height: 194px;
    }

    .ly-plate .lottery-star .lotteryBtn{
        position: absolute;
        top: 0;
        left: 0;
        width: 194px;
        height: 194px;
        background-image: url(../images/rotate-static.png);
        background-repeat: no-repeat;
        background-size: contain;
        cursor: pointer;
    }

    .gift-wrapper{
        width: 100%;
        height: 100%;
        text-align: center;
        background-image: url(../images/win-bg.png);
        background-repeat: no-repeat;
        background-size: 100% 100%;
    }

    .win-wrapper{
        padding-top: 240px;
    }

    .win-wrapper .wining-gift{
        position: relative;
        width: 270px;
        height: 160px;
        margin-left: auto;
        margin-right: auto;
        background-image: url(../images/congratulation.png);
        background-repeat: no-repeat;
        background-size: contain;
    }
    
    .wining-gift .wining-gift_text{
        position: absolute;
        left: 0;
        right: 0;
        bottom: 45px;
        margin: auto;
        font-size: 15px;
        color: #ff6400;
        letter-spacing: 2px;
    }

    .win-wrapper .expiry-code{
        position: relative;
        width: 269px;
        height: 60px;
        margin-left: auto;
        margin-right: auto;
        background-image: url(../images/win-code.png);
        background-repeat: no-repeat;
        background-size: contain;
    }

    .expiry-code .expiry-code_text{
        position: absolute;
        left: 0;
        right: 0;
        bottom: 10px;
        letter-spacing: 2px;
        font-weight: bold;
        color: #b31f23;
    }
}

@media(min-width: 375px) and (max-width: 414px){
    .wrapper{
        width: 100%;
        height: 860px;
        background-image: url(../images/ly-bg.png);
        background-repeat: no-repeat;
        background-size: cover;
    }

    .ly-wrapper{
        padding-top: 255px;
    }

    .ly-plate{
        position: relative;
        width: 322px;
        height: 322px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .rotate-bg{
        position: absolute;
        top: 0;
        left: 0;
        width: 322px;
        height: 322px;
        background-image: url(../images/ly-plate.png);
        background-repeat: no-repeat;
        background-size: contain;
    }

    .ly-plate .lottery-star{
        position: absolute;
        top: 61px;
        left: 61px;
        width: 202px;
        height: 202px;
    }

    .ly-plate .lottery-star .lotteryBtn{
        position: absolute;
        top: 0;
        left: 0;
        width: 202px;
        height: 202px;
        background-image: url(../images/rotate-static.png);
        background-repeat: no-repeat;
        background-size: contain;
        cursor: pointer;
    }

    .gift-wrapper{
        width: 100%;
        height: 100%;
        text-align: center;
        background-image: url(../images/win-bg.png);
        background-repeat: no-repeat;
        background-size: 100% 100%;
    }

    .win-wrapper{
        padding-top: 240px;
    }

    .win-wrapper .wining-gift{
        position: relative;
        width: 280px;
        height: 166px;
        margin-left: auto;
        margin-right: auto;
        background-image: url(../images/congratulation.png);
        background-repeat: no-repeat;
        background-size: contain;
    }
    
    .wining-gift .wining-gift_text{
        position: absolute;
        left: 0;
        right: 0;
        bottom: 46px;
        margin: auto;
        font-size: 15px;
        letter-spacing: 2px;
        color: #ff6400;
    }

    .win-wrapper .expiry-code{
        position: relative;
        width: 280px;
        height: 62px;
        margin-left: auto;
        margin-right: auto;
        background-image: url(../images/win-code.png);
        background-repeat: no-repeat;
        background-size: contain;
    }

    .expiry-code .expiry-code_text{
        position: absolute;
        left: 0;
        right: 0;
        bottom: 11px;
        color: #b31f23;
        letter-spacing: 2px;
        font-weight: bold;
    }
}

@media(min-width: 414px){
    .wrapper{
        width: 100%;
        height: 950px;
        background-image: url(../images/ly-bg.png);
        background-repeat: no-repeat;
        background-size: cover;
    }

    .ly-wrapper{
        padding-top: 285px;
    }

    .ly-plate{
        position: relative;
        width: 355px;
        height: 355px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .rotate-bg{
        position: absolute;
        top: 0;
        left: 0;
        width: 355px;
        height: 355px;
        background-image: url(../images/ly-plate.png);
        background-repeat: no-repeat;
        background-size: contain;
    }

    .ly-plate .lottery-star{
        position: absolute;
        top: 67px;
        left: 67px;
        width: 223px;
        height: 223px;
    }

    .ly-plate .lottery-star .lotteryBtn{
        position: absolute;
        top: 0;
        left: 0;
        width: 223px;
        height: 223px;
        background-image: url(../images/rotate-static.png);
        background-repeat: no-repeat;
        background-size: contain;
        cursor: pointer;
    }

    .gift-wrapper{
        width: 100%;
        height: 100%;
        text-align: center;
        background-image: url(../images/win-bg.png);
        background-repeat: no-repeat;
        background-size: 100% 100%;
    }

    .win-wrapper{
        padding-top: 280px;
    }

    .win-wrapper .wining-gift{
        position: relative;
        width: 310px;
        height: 183px;
        margin-left: auto;
        margin-right: auto;
        background-image: url(../images/congratulation.png);
        background-repeat: no-repeat;
        background-size: contain;
    }
    
    .wining-gift .wining-gift_text{
        position: absolute;
        left: 0;
        right: 0;
        bottom: 52px;
        margin: auto;
        font-size: 15px;
        letter-spacing: 2px;
        color: #ff6400;
    }

    .win-wrapper .expiry-code{
        position: relative;
        width: 308px;
        height: 68px;
        margin-left: auto;
        margin-right: auto;
        background-image: url(../images/win-code.png);
        background-repeat: no-repeat;
        background-size: contain;
    }

    .expiry-code .expiry-code_text{
        position: absolute;
        left: 0;
        right: 0;
        bottom: 13px;
        color: #b31f23;
        letter-spacing: 2px;
        font-weight: bold;
    }
}